Skip to content

fix: preserve vibrancy setting when menu bar window is unfocused#97

Merged
simonhamp merged 1 commit intoNativePHP:mainfrom
lukas-frey:main
Mar 16, 2026
Merged

fix: preserve vibrancy setting when menu bar window is unfocused#97
simonhamp merged 1 commit intoNativePHP:mainfrom
lukas-frey:main

Conversation

@lukas-frey
Copy link
Contributor

When you have a menu bar application which uses macOS vibrancy windows with a transparent background, whenever you unblur the window, it would reset to a opaque background. This fixes that behaviour.

Copy link
Member

@SRWieZ SRWieZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you test it ?

Looks good orherwise.

@lukas-frey
Copy link
Contributor Author

Yes, I tested:

  • whether the changes work (when using transparent background, it stays transparent in unfocused state)
  • whether opaque windows still work with the introduced change

@simonhamp simonhamp merged commit 5aa0653 into NativePHP:main Mar 16, 2026
27 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants